package server.app;

import server.Servlet;

public class Wrapper {
    private String urlPattern;

    private Servlet servlet;

    public Wrapper() {
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public void setUrlPattern(String urlPattern) {
        this.urlPattern = urlPattern;
    }

    public Servlet getServlet() {
        return servlet;
    }

    public void setServlet(Servlet servlet) {
        this.servlet = servlet;
    }

    public Wrapper(String urlPattern, Servlet servlet) {
        this.urlPattern = urlPattern;
        this.servlet = servlet;
    }
}
